package com.xlf.service.blog.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author xlf 2734029211@qq.com
 * @Date 2023/12/30 10:34
 * @Description: TODO
 * @Version 1.0
 */
@Data
public class CommentDTO implements Serializable {

    //评论类型
    @NotNull
    private Integer commentType;

    //类型id
    @NotNull
    private Long typeId;

    //排序方式 1.最新 2.最热
    @NotNull
    private Integer seq;

    //上一页获取的最后一个评论id，seq为1时必填
    @Deprecated
    private Long lastId;
}
